HAL MMC state and error functions

This section provides information about the HAL MMC state and error functions migration.

HAL MMC state

HAL1

HAL2

HAL_MMC_StateTypeDef HAL_MMC_GetState(const MMC_HandleTypeDef *hmmc)
hal_mmc_state_t HAL_MMC_GetState(const hal_mmc_handle_t *hmmc)
HAL_MMC_CardStateTypeDef HAL_MMC_GetCardState(MMC_HandleTypeDef *hmmc)
hal_mmc_card_state_t HAL_MMC_GetCardState(hal_mmc_handle_t *hmmc)

Related concept:

HAL MMC error

HAL1

HAL2

uint32_t HAL_MMC_GetError(const MMC_HandleTypeDef *hmmc)
uint32_t HAL_MMC_GetLastErrorCodes(const hal_mmc_handle_t *hmmc)
uint32_t HAL_MMC_GetRPMBError(const MMC_HandleTypeDef *hmmc)
uint32_t HAL_MMC_GetRPMBErrorCodes(const hal_mmc_handle_t *hmmc)

Related concept: